<!DOCTYPE html>
<html lang="en">
<head>
    <script type="text/javascript" src="//cdn.jsdelivr.net/npm/sockjs-client@1/dist/sockjs.min.js"></script>
    <script type="text/javascript" src="app.js"></script>
    <meta charset="UTF-8">
    <title>Chat Web Example</title>
</head>

<body>
<h1>Chat - Web Example</h1>
<form onSubmit='sock.send(document.getElementById("input").value); return false;'>
    Input text: <input id="input" focus="true"/>
    <input type="submit" disabled="true" id="send" value="Send"/>
</form>
<br/>
Messages from server:</br>
<textarea cols=80 rows=20 id="output">
</textarea>
<br/>
status: <span id="status">connecting...</span>

</body>
</html>
